<script>
	function bar() {
		class Foo {
			foo = $state(0)
		}
		const a = new Foo();
	}
</script>
